package com.zhihesj.anan.system.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Exrick
 */
@Data
public class DeptVo {
    @ApiModelProperty(value = "页码")
    private Integer page;

    @ApiModelProperty(value = "页数")
    private Integer limit;

    @ApiModelProperty(value = "deptId")
    private Long deptId;

    @ApiModelProperty(value = "父id")
    private Long parentId;

    @ApiModelProperty(value = "祖级列表")
    private String ancestors;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;

    @ApiModelProperty(value = "负责人")
    private String leader;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "部门状态（0正常 1停用）")
    private Integer status;

    @ApiModelProperty(value = "EMAIL")
    private String email;

    @ApiModelProperty(value = "子部门")
    private List<DeptVo> children;

    @ApiModelProperty(value = "树节点-键")
    private Long id;

    @ApiModelProperty(value = "树节点-值")
    private String label;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}
